package com.qf.listener;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author Ypl
 * @version V1.0
 * @Project OctoberAndNovember
 * @Package com.qf.listener
 * @Description:
 * @Date 2022/11/1 20:26
 */
@Component
public class DirectListener01 {

    @RabbitListener(queues = "direct_queue01")
    public void testDirect(String msg){
        System.out.println("01....消费了 " + msg);
    }
}
